package com.vegetable.modules.entity.outbound.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 任务下达待办对象
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SalesAssignDetailPO对象", description="任务下达待办对象")
public class SalesAssignDetailPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "待办id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long agentId;

    @ApiModelProperty(value = "待办名称")
    private String agentName;

    @ApiModelProperty(value = "待办的商品明细")
    private List<SalesAssignDetailCommodityPO> commodities;

}
